﻿namespace KingerRobot.MexicoSailunWMS.SpiService;
internal interface IWcsAsrsCrnInput
{
    /// <summary>
    /// 获取要入库所有入库口
    /// </summary>
    List<AsrsCrnInputBean> GetAsrsCrnInput();
    /// <summary>
    /// 修改数量
    /// </summary>
    /// <param name="id"></param>
    /// <param name="number"></param>
    /// <returns></returns>
    int UpdateAsrsCrnInputCount(long id, int number, string reason);

    List<WcsAsrsCrnCountBean> GetAsrsCrnInputV2();
}

public class AsrsCrnInputBean
{
    public long Id { get; set; }
    /// <summary>
    /// 区域名称
    /// </summary>
    public string AreaName { get; set; }
    /// <summary>
    /// 堆垛机名称
    /// </summary>
    public string CrnName { get; set; }
    /// <summary>
    /// 堆垛机编号
    /// </summary>
    public long? CrnCode { get; set; }
    /// <summary>
    /// B放胎位
    /// </summary>
    public string InputLoc1 { get; set; }
    /// <summary>
    /// A放胎位
    /// </summary>
    public string InputLoc2 { get; set; }
    /// <summary>
    /// 限制入库数量
    /// </summary>
    public int Number { get; set; }

    public string Reason { get; set; }

    public int? EquipEnable { get; set; }
}

